import re
p = re.compile(r'[\s\,\;]+')
result=p.split('a,b;; c   d')
print(result)
